package com.suse.jd_system_server.dao;

import com.suse.jd_system_server.entity.Orders_rp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrdersDao_rp {
    //根据用户id查找订单
     List<Orders_rp> getOrdersList(long user_id);
     //根据订单id查找订单详情
     List<Orders_rp> getOrderById(long order_id);
     //条件查询
    List<Orders_rp> searchList(Map<String,Object> param);
    //取消订单
    Integer cancelOrder(Map<String,Object> param);
}
